using System;
using System.Collections.Generic;

namespace Kotonoha.Server.Xml {
    public class Element {
        private Dictionary<String, String> dict = new Dictionary<string, string>();
        public void Add(string name, string value) {
            dict.Add(name, value);
        }

        public string this[string s] {
            get {
                string val;
                dict.TryGetValue(s, out val);
                return val;
            }
        }

        public string Content { get; set; }
    }
}